package org.egomsl.mw.block;

import org.egomsl.mw.record.Record;
import org.egomsl.mw.record.RecordScanner;

public interface Block {

    boolean add(Record record);
    void clear();

    void finalize();
    boolean isFinalized();

    Block snapshot();
    RecordScanner getScanner();

    int getOffset();
    int getLength();
    byte[] getBytes();

}
